<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\GoodsProduct
 *
 * @property int $id
 * @property string|null $name 产品名称
 * @property string|null $ssn 产品编号
 * @property float $m_price 市场价
 * @property float $s_price 销售价
 * @property int $thumb_id 商品缩略图
 * @property string|null $content 内容
 * @property int $stock 商品库存
 * @property int $sale_count 销售数量
 * @property int $is_shop 是否上架
 * @property int $is_new 是否首页显示，0：否 1：是
 * @property int $classify_id 分类id
 * @property int $sort 商品排序，整数，数字越低排序越前
 * @property string|null $deleted_at
 * @property \Carbon\Carbon|null $created_at
 * @property \Carbon\Carbon|null $updated_at
 * @method static bool|null forceDelete()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsProduct onlyTrashed()
 * @method static bool|null restore()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereClassifyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereIsNew($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereIsShop($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereMPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereName($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereSPrice($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereSaleCount($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereSort($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereSsn($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereStock($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereThumbId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereUpdatedAt($value)
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsProduct withTrashed()
 * @method static \Illuminate\Database\Query\Builder|\App\GoodsProduct withoutTrashed()
 * @mixin \Eloquent
 * @property string|null $desc 描述
 * @method static \Illuminate\Database\Eloquent\Builder|\App\GoodsProduct whereDesc($value)
 */
class GoodsProduct extends Model
{
    protected $table = "goods_product";
    use SoftDeletes;
}
